package com.fenyin.samples.study.parttern.struct.decorate.example1;  
 
/**
 *@Title: 装饰模式
 *<p>OrderDecorator：抽象装饰构件</p>  
 *@Author:fengzhichao  
 *@Since:2012-9-29  
 *@Version:1.1.0
 */
public class OrderDecorator extends Order{
	
	private Order order;
	
	public OrderDecorator(Order order){
		this.order = order;
	}
	
	@Override
	public void print() {
		order.print();
	}
	
}
